/**
 * Copyright 2004 - 2007 Blue Bamboo International Inc. 
 *           All rights reserved.
 *
 *
 * Blue Bamboo PROPRIETARY/CONFIDENTIAL.
 *
 */

package com.bambamboo.st.processor;

import com.bambamboo.st.IProcessor;

public class EchoProcessor implements IProcessor {

	public byte[] getResponse(byte[] requestBuf) throws Exception {
		byte[] respBuf = new byte[requestBuf.length];
		System.arraycopy(requestBuf, 0, respBuf, 0, requestBuf.length);
		return respBuf;
	}

	@Override
	public String toString() {
		return "EchoHandler";
	}
}
